#!/bin/sh

ver_new="$1"
ver_old="$2"

if [ "$(apk version -t "$ver_old" "5.0.1-r0")" = "<" ]; then
	chown -R kresd:kresd /var/cache/knot-resolver
fi
